package ru.lukyanets.transmission.client.config;

import java.util.prefs.Preferences;

/**
 * @author slukyanets
 */
public abstract class Config {
    private final Preferences preferences;

    public Config(String node) {
        this.preferences = Preferences.userRoot().node("transmissionfx").node(node);
    }

    public Preferences getPreferences() {
        return preferences;
    }

    public abstract void store();
}
